3 # Helper function for error reporting.
4 die
() { [ $# -gt 0 ] && echo "ERROR: $*" >&2; exit 1; }
6 requiredUtils
='bash perl' # Add additional prerequisites, if any, here.
7 for requiredUtil
in $requiredUtils; do
8 [ -n "$(command -v "$requiredUtil")" ] || die
"MISSING PREREQUISITE: \`$requiredUtil\` is required to run tests."